package com.shzu.pojo;

import org.springframework.stereotype.Component;

import java.util.ArrayList;
import java.util.Date;
import java.util.Iterator;
import java.util.List;
@Component
public class CourseMertiaInfoExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public CourseMertiaInfoExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        protected void addCriterionForJDBCDate(String condition, Date value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            addCriterion(condition, new java.sql.Date(value.getTime()), property);
        }

        protected void addCriterionForJDBCDate(String condition, List<Date> values, String property) {
            if (values == null || values.size() == 0) {
                throw new RuntimeException("Value list for " + property + " cannot be null or empty");
            }
            List<java.sql.Date> dateList = new ArrayList<java.sql.Date>();
            Iterator<Date> iter = values.iterator();
            while (iter.hasNext()) {
                dateList.add(new java.sql.Date(iter.next().getTime()));
            }
            addCriterion(condition, dateList, property);
        }

        protected void addCriterionForJDBCDate(String condition, Date value1, Date value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            addCriterion(condition, new java.sql.Date(value1.getTime()), new java.sql.Date(value2.getTime()), property);
        }

        public Criteria andCidIsNull() {
            addCriterion("cid is null");
            return (Criteria) this;
        }

        public Criteria andCidIsNotNull() {
            addCriterion("cid is not null");
            return (Criteria) this;
        }

        public Criteria andCidEqualTo(String value) {
            addCriterion("cid =", value, "cid");
            return (Criteria) this;
        }

        public Criteria andCidNotEqualTo(String value) {
            addCriterion("cid <>", value, "cid");
            return (Criteria) this;
        }

        public Criteria andCidGreaterThan(String value) {
            addCriterion("cid >", value, "cid");
            return (Criteria) this;
        }

        public Criteria andCidGreaterThanOrEqualTo(String value) {
            addCriterion("cid >=", value, "cid");
            return (Criteria) this;
        }

        public Criteria andCidLessThan(String value) {
            addCriterion("cid <", value, "cid");
            return (Criteria) this;
        }

        public Criteria andCidLessThanOrEqualTo(String value) {
            addCriterion("cid <=", value, "cid");
            return (Criteria) this;
        }

        public Criteria andCidLike(String value) {
            addCriterion("cid like", value, "cid");
            return (Criteria) this;
        }

        public Criteria andCidNotLike(String value) {
            addCriterion("cid not like", value, "cid");
            return (Criteria) this;
        }

        public Criteria andCidIn(List<String> values) {
            addCriterion("cid in", values, "cid");
            return (Criteria) this;
        }

        public Criteria andCidNotIn(List<String> values) {
            addCriterion("cid not in", values, "cid");
            return (Criteria) this;
        }

        public Criteria andCidBetween(String value1, String value2) {
            addCriterion("cid between", value1, value2, "cid");
            return (Criteria) this;
        }

        public Criteria andCidNotBetween(String value1, String value2) {
            addCriterion("cid not between", value1, value2, "cid");
            return (Criteria) this;
        }

        public Criteria andMidIsNull() {
            addCriterion("mid is null");
            return (Criteria) this;
        }

        public Criteria andMidIsNotNull() {
            addCriterion("mid is not null");
            return (Criteria) this;
        }

        public Criteria andMidEqualTo(String value) {
            addCriterion("mid =", value, "mid");
            return (Criteria) this;
        }

        public Criteria andMidNotEqualTo(String value) {
            addCriterion("mid <>", value, "mid");
            return (Criteria) this;
        }

        public Criteria andMidGreaterThan(String value) {
            addCriterion("mid >", value, "mid");
            return (Criteria) this;
        }

        public Criteria andMidGreaterThanOrEqualTo(String value) {
            addCriterion("mid >=", value, "mid");
            return (Criteria) this;
        }

        public Criteria andMidLessThan(String value) {
            addCriterion("mid <", value, "mid");
            return (Criteria) this;
        }

        public Criteria andMidLessThanOrEqualTo(String value) {
            addCriterion("mid <=", value, "mid");
            return (Criteria) this;
        }

        public Criteria andMidLike(String value) {
            addCriterion("mid like", value, "mid");
            return (Criteria) this;
        }

        public Criteria andMidNotLike(String value) {
            addCriterion("mid not like", value, "mid");
            return (Criteria) this;
        }

        public Criteria andMidIn(List<String> values) {
            addCriterion("mid in", values, "mid");
            return (Criteria) this;
        }

        public Criteria andMidNotIn(List<String> values) {
            addCriterion("mid not in", values, "mid");
            return (Criteria) this;
        }

        public Criteria andMidBetween(String value1, String value2) {
            addCriterion("mid between", value1, value2, "mid");
            return (Criteria) this;
        }

        public Criteria andMidNotBetween(String value1, String value2) {
            addCriterion("mid not between", value1, value2, "mid");
            return (Criteria) this;
        }

        public Criteria andCnameIsNull() {
            addCriterion("cname is null");
            return (Criteria) this;
        }

        public Criteria andCnameIsNotNull() {
            addCriterion("cname is not null");
            return (Criteria) this;
        }

        public Criteria andCnameEqualTo(String value) {
            addCriterion("cname =", value, "cname");
            return (Criteria) this;
        }

        public Criteria andCnameNotEqualTo(String value) {
            addCriterion("cname <>", value, "cname");
            return (Criteria) this;
        }

        public Criteria andCnameGreaterThan(String value) {
            addCriterion("cname >", value, "cname");
            return (Criteria) this;
        }

        public Criteria andCnameGreaterThanOrEqualTo(String value) {
            addCriterion("cname >=", value, "cname");
            return (Criteria) this;
        }

        public Criteria andCnameLessThan(String value) {
            addCriterion("cname <", value, "cname");
            return (Criteria) this;
        }

        public Criteria andCnameLessThanOrEqualTo(String value) {
            addCriterion("cname <=", value, "cname");
            return (Criteria) this;
        }

        public Criteria andCnameLike(String value) {
            addCriterion("cname like", value, "cname");
            return (Criteria) this;
        }

        public Criteria andCnameNotLike(String value) {
            addCriterion("cname not like", value, "cname");
            return (Criteria) this;
        }

        public Criteria andCnameIn(List<String> values) {
            addCriterion("cname in", values, "cname");
            return (Criteria) this;
        }

        public Criteria andCnameNotIn(List<String> values) {
            addCriterion("cname not in", values, "cname");
            return (Criteria) this;
        }

        public Criteria andCnameBetween(String value1, String value2) {
            addCriterion("cname between", value1, value2, "cname");
            return (Criteria) this;
        }

        public Criteria andCnameNotBetween(String value1, String value2) {
            addCriterion("cname not between", value1, value2, "cname");
            return (Criteria) this;
        }

        public Criteria andTidIsNull() {
            addCriterion("tid is null");
            return (Criteria) this;
        }

        public Criteria andTidIsNotNull() {
            addCriterion("tid is not null");
            return (Criteria) this;
        }

        public Criteria andTidEqualTo(String value) {
            addCriterion("tid =", value, "tid");
            return (Criteria) this;
        }

        public Criteria andTidNotEqualTo(String value) {
            addCriterion("tid <>", value, "tid");
            return (Criteria) this;
        }

        public Criteria andTidGreaterThan(String value) {
            addCriterion("tid >", value, "tid");
            return (Criteria) this;
        }

        public Criteria andTidGreaterThanOrEqualTo(String value) {
            addCriterion("tid >=", value, "tid");
            return (Criteria) this;
        }

        public Criteria andTidLessThan(String value) {
            addCriterion("tid <", value, "tid");
            return (Criteria) this;
        }

        public Criteria andTidLessThanOrEqualTo(String value) {
            addCriterion("tid <=", value, "tid");
            return (Criteria) this;
        }

        public Criteria andTidLike(String value) {
            addCriterion("tid like", value, "tid");
            return (Criteria) this;
        }

        public Criteria andTidNotLike(String value) {
            addCriterion("tid not like", value, "tid");
            return (Criteria) this;
        }

        public Criteria andTidIn(List<String> values) {
            addCriterion("tid in", values, "tid");
            return (Criteria) this;
        }

        public Criteria andTidNotIn(List<String> values) {
            addCriterion("tid not in", values, "tid");
            return (Criteria) this;
        }

        public Criteria andTidBetween(String value1, String value2) {
            addCriterion("tid between", value1, value2, "tid");
            return (Criteria) this;
        }

        public Criteria andTidNotBetween(String value1, String value2) {
            addCriterion("tid not between", value1, value2, "tid");
            return (Criteria) this;
        }

        public Criteria andTnameIsNull() {
            addCriterion("tname is null");
            return (Criteria) this;
        }

        public Criteria andTnameIsNotNull() {
            addCriterion("tname is not null");
            return (Criteria) this;
        }

        public Criteria andTnameEqualTo(String value) {
            addCriterion("tname =", value, "tname");
            return (Criteria) this;
        }

        public Criteria andTnameNotEqualTo(String value) {
            addCriterion("tname <>", value, "tname");
            return (Criteria) this;
        }

        public Criteria andTnameGreaterThan(String value) {
            addCriterion("tname >", value, "tname");
            return (Criteria) this;
        }

        public Criteria andTnameGreaterThanOrEqualTo(String value) {
            addCriterion("tname >=", value, "tname");
            return (Criteria) this;
        }

        public Criteria andTnameLessThan(String value) {
            addCriterion("tname <", value, "tname");
            return (Criteria) this;
        }

        public Criteria andTnameLessThanOrEqualTo(String value) {
            addCriterion("tname <=", value, "tname");
            return (Criteria) this;
        }

        public Criteria andTnameLike(String value) {
            addCriterion("tname like", value, "tname");
            return (Criteria) this;
        }

        public Criteria andTnameNotLike(String value) {
            addCriterion("tname not like", value, "tname");
            return (Criteria) this;
        }

        public Criteria andTnameIn(List<String> values) {
            addCriterion("tname in", values, "tname");
            return (Criteria) this;
        }

        public Criteria andTnameNotIn(List<String> values) {
            addCriterion("tname not in", values, "tname");
            return (Criteria) this;
        }

        public Criteria andTnameBetween(String value1, String value2) {
            addCriterion("tname between", value1, value2, "tname");
            return (Criteria) this;
        }

        public Criteria andTnameNotBetween(String value1, String value2) {
            addCriterion("tname not between", value1, value2, "tname");
            return (Criteria) this;
        }

        public Criteria andTkindIsNull() {
            addCriterion("tkind is null");
            return (Criteria) this;
        }

        public Criteria andTkindIsNotNull() {
            addCriterion("tkind is not null");
            return (Criteria) this;
        }

        public Criteria andTkindEqualTo(String value) {
            addCriterion("tkind =", value, "tkind");
            return (Criteria) this;
        }

        public Criteria andTkindNotEqualTo(String value) {
            addCriterion("tkind <>", value, "tkind");
            return (Criteria) this;
        }

        public Criteria andTkindGreaterThan(String value) {
            addCriterion("tkind >", value, "tkind");
            return (Criteria) this;
        }

        public Criteria andTkindGreaterThanOrEqualTo(String value) {
            addCriterion("tkind >=", value, "tkind");
            return (Criteria) this;
        }

        public Criteria andTkindLessThan(String value) {
            addCriterion("tkind <", value, "tkind");
            return (Criteria) this;
        }

        public Criteria andTkindLessThanOrEqualTo(String value) {
            addCriterion("tkind <=", value, "tkind");
            return (Criteria) this;
        }

        public Criteria andTkindLike(String value) {
            addCriterion("tkind like", value, "tkind");
            return (Criteria) this;
        }

        public Criteria andTkindNotLike(String value) {
            addCriterion("tkind not like", value, "tkind");
            return (Criteria) this;
        }

        public Criteria andTkindIn(List<String> values) {
            addCriterion("tkind in", values, "tkind");
            return (Criteria) this;
        }

        public Criteria andTkindNotIn(List<String> values) {
            addCriterion("tkind not in", values, "tkind");
            return (Criteria) this;
        }

        public Criteria andTkindBetween(String value1, String value2) {
            addCriterion("tkind between", value1, value2, "tkind");
            return (Criteria) this;
        }

        public Criteria andTkindNotBetween(String value1, String value2) {
            addCriterion("tkind not between", value1, value2, "tkind");
            return (Criteria) this;
        }

        public Criteria andChiefeditorIsNull() {
            addCriterion("chiefEditor is null");
            return (Criteria) this;
        }

        public Criteria andChiefeditorIsNotNull() {
            addCriterion("chiefEditor is not null");
            return (Criteria) this;
        }

        public Criteria andChiefeditorEqualTo(String value) {
            addCriterion("chiefEditor =", value, "chiefeditor");
            return (Criteria) this;
        }

        public Criteria andChiefeditorNotEqualTo(String value) {
            addCriterion("chiefEditor <>", value, "chiefeditor");
            return (Criteria) this;
        }

        public Criteria andChiefeditorGreaterThan(String value) {
            addCriterion("chiefEditor >", value, "chiefeditor");
            return (Criteria) this;
        }

        public Criteria andChiefeditorGreaterThanOrEqualTo(String value) {
            addCriterion("chiefEditor >=", value, "chiefeditor");
            return (Criteria) this;
        }

        public Criteria andChiefeditorLessThan(String value) {
            addCriterion("chiefEditor <", value, "chiefeditor");
            return (Criteria) this;
        }

        public Criteria andChiefeditorLessThanOrEqualTo(String value) {
            addCriterion("chiefEditor <=", value, "chiefeditor");
            return (Criteria) this;
        }

        public Criteria andChiefeditorLike(String value) {
            addCriterion("chiefEditor like", value, "chiefeditor");
            return (Criteria) this;
        }

        public Criteria andChiefeditorNotLike(String value) {
            addCriterion("chiefEditor not like", value, "chiefeditor");
            return (Criteria) this;
        }

        public Criteria andChiefeditorIn(List<String> values) {
            addCriterion("chiefEditor in", values, "chiefeditor");
            return (Criteria) this;
        }

        public Criteria andChiefeditorNotIn(List<String> values) {
            addCriterion("chiefEditor not in", values, "chiefeditor");
            return (Criteria) this;
        }

        public Criteria andChiefeditorBetween(String value1, String value2) {
            addCriterion("chiefEditor between", value1, value2, "chiefeditor");
            return (Criteria) this;
        }

        public Criteria andChiefeditorNotBetween(String value1, String value2) {
            addCriterion("chiefEditor not between", value1, value2, "chiefeditor");
            return (Criteria) this;
        }

        public Criteria andAuthorIsNull() {
            addCriterion("author is null");
            return (Criteria) this;
        }

        public Criteria andAuthorIsNotNull() {
            addCriterion("author is not null");
            return (Criteria) this;
        }

        public Criteria andAuthorEqualTo(String value) {
            addCriterion("author =", value, "author");
            return (Criteria) this;
        }

        public Criteria andAuthorNotEqualTo(String value) {
            addCriterion("author <>", value, "author");
            return (Criteria) this;
        }

        public Criteria andAuthorGreaterThan(String value) {
            addCriterion("author >", value, "author");
            return (Criteria) this;
        }

        public Criteria andAuthorGreaterThanOrEqualTo(String value) {
            addCriterion("author >=", value, "author");
            return (Criteria) this;
        }

        public Criteria andAuthorLessThan(String value) {
            addCriterion("author <", value, "author");
            return (Criteria) this;
        }

        public Criteria andAuthorLessThanOrEqualTo(String value) {
            addCriterion("author <=", value, "author");
            return (Criteria) this;
        }

        public Criteria andAuthorLike(String value) {
            addCriterion("author like", value, "author");
            return (Criteria) this;
        }

        public Criteria andAuthorNotLike(String value) {
            addCriterion("author not like", value, "author");
            return (Criteria) this;
        }

        public Criteria andAuthorIn(List<String> values) {
            addCriterion("author in", values, "author");
            return (Criteria) this;
        }

        public Criteria andAuthorNotIn(List<String> values) {
            addCriterion("author not in", values, "author");
            return (Criteria) this;
        }

        public Criteria andAuthorBetween(String value1, String value2) {
            addCriterion("author between", value1, value2, "author");
            return (Criteria) this;
        }

        public Criteria andAuthorNotBetween(String value1, String value2) {
            addCriterion("author not between", value1, value2, "author");
            return (Criteria) this;
        }

        public Criteria andPublisherIsNull() {
            addCriterion("publisher is null");
            return (Criteria) this;
        }

        public Criteria andPublisherIsNotNull() {
            addCriterion("publisher is not null");
            return (Criteria) this;
        }

        public Criteria andPublisherEqualTo(String value) {
            addCriterion("publisher =", value, "publisher");
            return (Criteria) this;
        }

        public Criteria andPublisherNotEqualTo(String value) {
            addCriterion("publisher <>", value, "publisher");
            return (Criteria) this;
        }

        public Criteria andPublisherGreaterThan(String value) {
            addCriterion("publisher >", value, "publisher");
            return (Criteria) this;
        }

        public Criteria andPublisherGreaterThanOrEqualTo(String value) {
            addCriterion("publisher >=", value, "publisher");
            return (Criteria) this;
        }

        public Criteria andPublisherLessThan(String value) {
            addCriterion("publisher <", value, "publisher");
            return (Criteria) this;
        }

        public Criteria andPublisherLessThanOrEqualTo(String value) {
            addCriterion("publisher <=", value, "publisher");
            return (Criteria) this;
        }

        public Criteria andPublisherLike(String value) {
            addCriterion("publisher like", value, "publisher");
            return (Criteria) this;
        }

        public Criteria andPublisherNotLike(String value) {
            addCriterion("publisher not like", value, "publisher");
            return (Criteria) this;
        }

        public Criteria andPublisherIn(List<String> values) {
            addCriterion("publisher in", values, "publisher");
            return (Criteria) this;
        }

        public Criteria andPublisherNotIn(List<String> values) {
            addCriterion("publisher not in", values, "publisher");
            return (Criteria) this;
        }

        public Criteria andPublisherBetween(String value1, String value2) {
            addCriterion("publisher between", value1, value2, "publisher");
            return (Criteria) this;
        }

        public Criteria andPublisherNotBetween(String value1, String value2) {
            addCriterion("publisher not between", value1, value2, "publisher");
            return (Criteria) this;
        }

        public Criteria andEditionIsNull() {
            addCriterion("edition is null");
            return (Criteria) this;
        }

        public Criteria andEditionIsNotNull() {
            addCriterion("edition is not null");
            return (Criteria) this;
        }

        public Criteria andEditionEqualTo(String value) {
            addCriterion("edition =", value, "edition");
            return (Criteria) this;
        }

        public Criteria andEditionNotEqualTo(String value) {
            addCriterion("edition <>", value, "edition");
            return (Criteria) this;
        }

        public Criteria andEditionGreaterThan(String value) {
            addCriterion("edition >", value, "edition");
            return (Criteria) this;
        }

        public Criteria andEditionGreaterThanOrEqualTo(String value) {
            addCriterion("edition >=", value, "edition");
            return (Criteria) this;
        }

        public Criteria andEditionLessThan(String value) {
            addCriterion("edition <", value, "edition");
            return (Criteria) this;
        }

        public Criteria andEditionLessThanOrEqualTo(String value) {
            addCriterion("edition <=", value, "edition");
            return (Criteria) this;
        }

        public Criteria andEditionLike(String value) {
            addCriterion("edition like", value, "edition");
            return (Criteria) this;
        }

        public Criteria andEditionNotLike(String value) {
            addCriterion("edition not like", value, "edition");
            return (Criteria) this;
        }

        public Criteria andEditionIn(List<String> values) {
            addCriterion("edition in", values, "edition");
            return (Criteria) this;
        }

        public Criteria andEditionNotIn(List<String> values) {
            addCriterion("edition not in", values, "edition");
            return (Criteria) this;
        }

        public Criteria andEditionBetween(String value1, String value2) {
            addCriterion("edition between", value1, value2, "edition");
            return (Criteria) this;
        }

        public Criteria andEditionNotBetween(String value1, String value2) {
            addCriterion("edition not between", value1, value2, "edition");
            return (Criteria) this;
        }

        public Criteria andTselkindIsNull() {
            addCriterion("tSelKind is null");
            return (Criteria) this;
        }

        public Criteria andTselkindIsNotNull() {
            addCriterion("tSelKind is not null");
            return (Criteria) this;
        }

        public Criteria andTselkindEqualTo(String value) {
            addCriterion("tSelKind =", value, "tselkind");
            return (Criteria) this;
        }

        public Criteria andTselkindNotEqualTo(String value) {
            addCriterion("tSelKind <>", value, "tselkind");
            return (Criteria) this;
        }

        public Criteria andTselkindGreaterThan(String value) {
            addCriterion("tSelKind >", value, "tselkind");
            return (Criteria) this;
        }

        public Criteria andTselkindGreaterThanOrEqualTo(String value) {
            addCriterion("tSelKind >=", value, "tselkind");
            return (Criteria) this;
        }

        public Criteria andTselkindLessThan(String value) {
            addCriterion("tSelKind <", value, "tselkind");
            return (Criteria) this;
        }

        public Criteria andTselkindLessThanOrEqualTo(String value) {
            addCriterion("tSelKind <=", value, "tselkind");
            return (Criteria) this;
        }

        public Criteria andTselkindLike(String value) {
            addCriterion("tSelKind like", value, "tselkind");
            return (Criteria) this;
        }

        public Criteria andTselkindNotLike(String value) {
            addCriterion("tSelKind not like", value, "tselkind");
            return (Criteria) this;
        }

        public Criteria andTselkindIn(List<String> values) {
            addCriterion("tSelKind in", values, "tselkind");
            return (Criteria) this;
        }

        public Criteria andTselkindNotIn(List<String> values) {
            addCriterion("tSelKind not in", values, "tselkind");
            return (Criteria) this;
        }

        public Criteria andTselkindBetween(String value1, String value2) {
            addCriterion("tSelKind between", value1, value2, "tselkind");
            return (Criteria) this;
        }

        public Criteria andTselkindNotBetween(String value1, String value2) {
            addCriterion("tSelKind not between", value1, value2, "tselkind");
            return (Criteria) this;
        }

        public Criteria andToutlineIsNull() {
            addCriterion("tOutline is null");
            return (Criteria) this;
        }

        public Criteria andToutlineIsNotNull() {
            addCriterion("tOutline is not null");
            return (Criteria) this;
        }

        public Criteria andToutlineEqualTo(String value) {
            addCriterion("tOutline =", value, "toutline");
            return (Criteria) this;
        }

        public Criteria andToutlineNotEqualTo(String value) {
            addCriterion("tOutline <>", value, "toutline");
            return (Criteria) this;
        }

        public Criteria andToutlineGreaterThan(String value) {
            addCriterion("tOutline >", value, "toutline");
            return (Criteria) this;
        }

        public Criteria andToutlineGreaterThanOrEqualTo(String value) {
            addCriterion("tOutline >=", value, "toutline");
            return (Criteria) this;
        }

        public Criteria andToutlineLessThan(String value) {
            addCriterion("tOutline <", value, "toutline");
            return (Criteria) this;
        }

        public Criteria andToutlineLessThanOrEqualTo(String value) {
            addCriterion("tOutline <=", value, "toutline");
            return (Criteria) this;
        }

        public Criteria andToutlineLike(String value) {
            addCriterion("tOutline like", value, "toutline");
            return (Criteria) this;
        }

        public Criteria andToutlineNotLike(String value) {
            addCriterion("tOutline not like", value, "toutline");
            return (Criteria) this;
        }

        public Criteria andToutlineIn(List<String> values) {
            addCriterion("tOutline in", values, "toutline");
            return (Criteria) this;
        }

        public Criteria andToutlineNotIn(List<String> values) {
            addCriterion("tOutline not in", values, "toutline");
            return (Criteria) this;
        }

        public Criteria andToutlineBetween(String value1, String value2) {
            addCriterion("tOutline between", value1, value2, "toutline");
            return (Criteria) this;
        }

        public Criteria andToutlineNotBetween(String value1, String value2) {
            addCriterion("tOutline not between", value1, value2, "toutline");
            return (Criteria) this;
        }

        public Criteria andUsestatusIsNull() {
            addCriterion("useStatus is null");
            return (Criteria) this;
        }

        public Criteria andUsestatusIsNotNull() {
            addCriterion("useStatus is not null");
            return (Criteria) this;
        }

        public Criteria andUsestatusEqualTo(String value) {
            addCriterion("useStatus =", value, "usestatus");
            return (Criteria) this;
        }

        public Criteria andUsestatusNotEqualTo(String value) {
            addCriterion("useStatus <>", value, "usestatus");
            return (Criteria) this;
        }

        public Criteria andUsestatusGreaterThan(String value) {
            addCriterion("useStatus >", value, "usestatus");
            return (Criteria) this;
        }

        public Criteria andUsestatusGreaterThanOrEqualTo(String value) {
            addCriterion("useStatus >=", value, "usestatus");
            return (Criteria) this;
        }

        public Criteria andUsestatusLessThan(String value) {
            addCriterion("useStatus <", value, "usestatus");
            return (Criteria) this;
        }

        public Criteria andUsestatusLessThanOrEqualTo(String value) {
            addCriterion("useStatus <=", value, "usestatus");
            return (Criteria) this;
        }

        public Criteria andUsestatusLike(String value) {
            addCriterion("useStatus like", value, "usestatus");
            return (Criteria) this;
        }

        public Criteria andUsestatusNotLike(String value) {
            addCriterion("useStatus not like", value, "usestatus");
            return (Criteria) this;
        }

        public Criteria andUsestatusIn(List<String> values) {
            addCriterion("useStatus in", values, "usestatus");
            return (Criteria) this;
        }

        public Criteria andUsestatusNotIn(List<String> values) {
            addCriterion("useStatus not in", values, "usestatus");
            return (Criteria) this;
        }

        public Criteria andUsestatusBetween(String value1, String value2) {
            addCriterion("useStatus between", value1, value2, "usestatus");
            return (Criteria) this;
        }

        public Criteria andUsestatusNotBetween(String value1, String value2) {
            addCriterion("useStatus not between", value1, value2, "usestatus");
            return (Criteria) this;
        }

        public Criteria andTbenginuseIsNull() {
            addCriterion("tBenginUse is null");
            return (Criteria) this;
        }

        public Criteria andTbenginuseIsNotNull() {
            addCriterion("tBenginUse is not null");
            return (Criteria) this;
        }

        public Criteria andTbenginuseEqualTo(Date value) {
            addCriterionForJDBCDate("tBenginUse =", value, "tbenginuse");
            return (Criteria) this;
        }

        public Criteria andTbenginuseNotEqualTo(Date value) {
            addCriterionForJDBCDate("tBenginUse <>", value, "tbenginuse");
            return (Criteria) this;
        }

        public Criteria andTbenginuseGreaterThan(Date value) {
            addCriterionForJDBCDate("tBenginUse >", value, "tbenginuse");
            return (Criteria) this;
        }

        public Criteria andTbenginuseGreaterThanOrEqualTo(Date value) {
            addCriterionForJDBCDate("tBenginUse >=", value, "tbenginuse");
            return (Criteria) this;
        }

        public Criteria andTbenginuseLessThan(Date value) {
            addCriterionForJDBCDate("tBenginUse <", value, "tbenginuse");
            return (Criteria) this;
        }

        public Criteria andTbenginuseLessThanOrEqualTo(Date value) {
            addCriterionForJDBCDate("tBenginUse <=", value, "tbenginuse");
            return (Criteria) this;
        }

        public Criteria andTbenginuseIn(List<Date> values) {
            addCriterionForJDBCDate("tBenginUse in", values, "tbenginuse");
            return (Criteria) this;
        }

        public Criteria andTbenginuseNotIn(List<Date> values) {
            addCriterionForJDBCDate("tBenginUse not in", values, "tbenginuse");
            return (Criteria) this;
        }

        public Criteria andTbenginuseBetween(Date value1, Date value2) {
            addCriterionForJDBCDate("tBenginUse between", value1, value2, "tbenginuse");
            return (Criteria) this;
        }

        public Criteria andTbenginuseNotBetween(Date value1, Date value2) {
            addCriterionForJDBCDate("tBenginUse not between", value1, value2, "tbenginuse");
            return (Criteria) this;
        }

        public Criteria andTenduseIsNull() {
            addCriterion("tEndUse is null");
            return (Criteria) this;
        }

        public Criteria andTenduseIsNotNull() {
            addCriterion("tEndUse is not null");
            return (Criteria) this;
        }

        public Criteria andTenduseEqualTo(Date value) {
            addCriterionForJDBCDate("tEndUse =", value, "tenduse");
            return (Criteria) this;
        }

        public Criteria andTenduseNotEqualTo(Date value) {
            addCriterionForJDBCDate("tEndUse <>", value, "tenduse");
            return (Criteria) this;
        }

        public Criteria andTenduseGreaterThan(Date value) {
            addCriterionForJDBCDate("tEndUse >", value, "tenduse");
            return (Criteria) this;
        }

        public Criteria andTenduseGreaterThanOrEqualTo(Date value) {
            addCriterionForJDBCDate("tEndUse >=", value, "tenduse");
            return (Criteria) this;
        }

        public Criteria andTenduseLessThan(Date value) {
            addCriterionForJDBCDate("tEndUse <", value, "tenduse");
            return (Criteria) this;
        }

        public Criteria andTenduseLessThanOrEqualTo(Date value) {
            addCriterionForJDBCDate("tEndUse <=", value, "tenduse");
            return (Criteria) this;
        }

        public Criteria andTenduseIn(List<Date> values) {
            addCriterionForJDBCDate("tEndUse in", values, "tenduse");
            return (Criteria) this;
        }

        public Criteria andTenduseNotIn(List<Date> values) {
            addCriterionForJDBCDate("tEndUse not in", values, "tenduse");
            return (Criteria) this;
        }

        public Criteria andTenduseBetween(Date value1, Date value2) {
            addCriterionForJDBCDate("tEndUse between", value1, value2, "tenduse");
            return (Criteria) this;
        }

        public Criteria andTenduseNotBetween(Date value1, Date value2) {
            addCriterionForJDBCDate("tEndUse not between", value1, value2, "tenduse");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}